﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KZ.Express.H.ENT;
using KZ.Express.H.Presenter;

namespace KZ.Express.H.Settings.Carriers
{
    public partial class CarrierListView : BaseView
    {
        #region Fields

        #endregion

        #region Private Methods

        private void CarrierListView_Load(object sender, EventArgs e)
        {
            
        }

        #endregion Private Methods

        #region Constructors

        public CarrierListView()
        {
            InitializeComponent();
            Initialize(dtgCarrier);

            _presenter = new BasePresenter(this);

            this.ObjectID = (int)Objects.Carrier;
            this.ActionName = "List";
            this.VisibleChanged += new EventHandler(View_VisibleChanged<CarrierENT>);
            this.dtgCarrier.Sorted += new EventHandler(Datagrid_Sorted);

            this.OnDeleteClick += new DeleteClickHandler(View_OnDeleteClick<CarrierENT>);
        }

        #endregion Constructors
    }
}
